package io.github.talelin.latticy.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Getter
@Setter
public class VacationDTO {
    @NotNull
    @Positive
    private Long examineUserId;
    @NotNull
    @Positive
    private int type;
    @NotBlank
    @Length(min = 1)
    private String startTime;
    @NotBlank
    @Length(min = 1)
    private String startApm;
    @NotBlank
    @Length(min = 1)
    private String endTime;
    @NotBlank
    @Length(min = 1)
    private String endApm;
    @NotBlank
    @Length(min = 1)
    private String days;

    private String description;
}
